<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String pName = request.getServletPath();
//String basePath = "http://localhost:8080/wechatEnterprise/";
%>
   <%
    HttpSession s = request.getSession(); 
    %>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<c:set var="pName" value="${pName}" />
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>




<script type="text/javascript">
//格式化时间
	function formatDate(now) {
		now = new Date(now);
		var year = now.getFullYear(),
		month = now.getMonth() + 1,
		date = now.getDate(),
		hour = now.getHours(),
		minute = now.getMinutes(),
		second = now.getSeconds();
		return year + "-" + month + "-" + date + " " + hour + ":" + minute + ":" + second;
	}
</script>
